//package org.assertj.ohos.api.app;
//
//import ohos.annotation.TargetApi;
//import ohos.app.DialogFragment;
//
//import static ohos.os.Build.VERSION_CODES.HONEYCOMB;
//import static org.assertj.core.api.Assertions.assertThat;
//
///** Assertions for {@link DialogFragment} instances. */
//@TargetApi(HONEYCOMB)
//public class DialogFragmentAssert
//    extends AbstractFragmentAssert<DialogFragmentAssert, DialogFragment> {
//  public DialogFragmentAssert(DialogFragment actual) {
//    super(actual, DialogFragmentAssert.class);
//  }
//
//  public DialogFragmentAssert isCancelable() {
//    isNotNull();
//    assertThat(actual.isCancelable()) //
//        .overridingErrorMessage("Expected to be cancelable but was not cancelable.") //
//        .isTrue();
//    return this;
//  }
//
//  public DialogFragmentAssert isNotCancelable() {
//    isNotNull();
//    assertThat(actual.isCancelable()) //
//        .overridingErrorMessage("Expected to be not cancelable but was cancelable.") //
//        .isFalse();
//    return this;
//  }
//}
